<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>历史记录 - 退役军人服务平台</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #1a6df0;
            --navy-blue: #0d2b50;
            --secondary: #ff6b00;
            --light-bg: #f5f7fa;
            --white: #ffffff;
            --gray: #6c757d;
            --text-primary: #333;
            --text-secondary: #666;
            --border: #e5e5e5;
        }

        body {
            font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
            background: var(--light-bg);
            color: var(--text-primary);
            padding-bottom: 70px;
        }

        .header {
            background: linear-gradient(135deg, var(--navy-blue) 0%, var(--primary) 100%);
            color: white;
            padding: 15px 20px;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .header-title {
            font-size: 18px;
            font-weight: 600;
        }

        .search-bar {
            background: var(--white);
            padding: 15px 20px;
            display: flex;
            gap: 10px;
        }

        .search-input {
            flex: 1;
            padding: 10px 15px;
            border: 1px solid var(--border);
            border-radius: 20px;
            font-size: 14px;
        }

        .history-list {
            margin: 15px;
        }

        .history-item {
            background: var(--white);
            border-radius: 12px;
            padding: 15px;
            margin-bottom: 15px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }

        .history-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .history-title {
            font-size: 15px;
            font-weight: 600;
        }

        .history-date {
            font-size: 12px;
            color: var(--text-secondary);
        }

        .history-desc {
            font-size: 13px;
            color: var(--text-secondary);
            margin-bottom: 10px;
        }

        .history-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 10px;
            border-top: 1px solid var(--border);
        }

        .history-status {
            font-size: 12px;
            color: var(--text-secondary);
        }

        .history-action {
            font-size: 12px;
            color: var(--primary);
            cursor: pointer;
        }

        .expired-badge {
            display: inline-block;
            padding: 2px 8px;
            background: #ffebee;
            color: #f44336;
            border-radius: 4px;
            font-size: 11px;
            margin-left: 8px;
        }
    </style>
</head>
<body>
    <div class="header">
        <div class="header-content">
            <div class="header-title">历史记录</div>
            <i class="fas fa-filter" style="cursor: pointer;"></i>
        </div>
    </div>

    <div class="search-bar">
        <input type="text" class="search-input" placeholder="搜索历史记录">
        <i class="fas fa-search" style="color: var(--gray); line-height: 40px;"></i>
    </div>

    <div class="history-list">
        <div class="history-item">
            <div class="history-header">
                <div class="history-title">AI行程 - 北京3日游</div>
                <div class="history-date">2024-03-10</div>
            </div>
            <div class="history-desc">目的地：北京 | 预算：3000-5000元 | 人数：2人</div>
            <div class="history-footer">
                <div class="history-status">已生成报价</div>
                <span class="history-action">查看详情</span>
            </div>
        </div>

        <div class="history-item">
            <div class="history-header">
                <div class="history-title">报价单 - 上海5天4晚</div>
                <div class="history-date">2024-02-28</div>
            </div>
            <div class="history-desc">总价：¥1,288 | 有效期至：2024-03-15</div>
            <div class="history-footer">
                <div class="history-status">已过期<span class="expired-badge">已失效</span></div>
                <span class="history-action">重新生成</span>
            </div>
        </div>

        <div class="history-item">
            <div class="history-header">
                <div class="history-title">AI行程 - 杭州2日游</div>
                <div class="history-date">2024-02-20</div>
            </div>
            <div class="history-desc">目的地：杭州 | 预算：1000-3000元 | 人数：1人</div>
            <div class="history-footer">
                <div class="history-status">未生成报价</div>
                <span class="history-action">生成报价</span>
            </div>
        </div>
    </div>
</body>
</html>
